package com.training.dto;

import com.training.entity.Address;
import com.training.entity.Role;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @BelongsProject: environment-supervision
 * @BelongsPackage: com.training.dto
 * @Author: Tianyu Han
 * @CreateTime: 2024-06-27  09:45
 * @Description: TODO
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class UserDto {
    private String id;
    private String code;
    private String telNum;
    private String realName;
    private Date birthday;
    private Address address;
    private Role role;
    private String email;
    private Integer sex;
    private String remarks;
}
